<!-- 主体内容 -->
<div id="content">
<!--<include file="../Public/message_header" />-->
<php>if(empty($weibolist)) {</php>暂无更多信息<php>}</php>
<volist name="weibolist" id="feed">
		<div class="c" id="c_{$feed.feed_id}" cid="{$feed.feed_id}" rowid="{$feed.feed_id}" appid="{$feed.uid}" page="" type="comment">
			<div class="c_info">
				<div class="c_ava">
					<img src="{$feed.comment_user_info.avatar_small}" width=40 height=40>
				</div>
				<div class="info_text">
					<div id="c_info_name_{$feed.row_id}" class="c_info_name">{$feed.comment_user_info.uname}说：</div>
					<!-- <div class="c_info_more_box">
						<div id="c_time_{$feed.row_id}" class="c_time">{$feed.publish_time|friendlyDate}</div>
					</div> -->
				</div>
			</div>
			<div id="c_content_{$feed.feed_id}" class="c_content">
				<php>echo wapFormatContent($feed['content'])</php>
			</div>
		</div>
</volist>

	<!-- 分页 -->
	<div id="pager_box">
		<php>if(empty($_GET['page']) || $_GET['page']==1){</php>
			<a href="javascript:;" id="prev" class="pager_child pager_p_n_none ">上一页</a>
		<php>}else{</php>
			<a href="{:U('w3g/Index/atme',array('page'=>$page-1))}" id="prev" class="pager_child pager_p_n ">上一页</a>
		<php>}</php>
		<select id="page_sel" class="pager_child">
			<php>
				$_GET['page']!=0?$get=$_GET['page']:$get=1;
				$_count = ceil($count/10);
				if($get<6){
					for($i=0;$i<($_count);$i++){
						$get==$i+1?$selected='selected="selected"':$selected='';
						if($i>9){
							break;
						}
			</php>
			<option value="{:U('w3g/Index/atme')}&page={$i+1}" <php>echo $selected;</php>>第{$i+1}页</option>
			<php>	}
				}elseif($get>=6){
					for($i=($get-5);$i<$get;$i++){
						$get==$i+1?$selected='selected="selected"':$selected='';
			</php>
			<option value="{:U('w3g/Index/atme')}&page={$i+1}" <php>echo $selected;</php>>第{$i+1}页</option>
			<php>	}</php>
			<php>	for($i=$get;$i<($get+5);$i++){
						$get==$i+1?$selected='selected="selected"':$selected='';
						if($i>$_count-1){
							break;
						}
			</php>
			<option value="{:U('w3g/Index/atme')}&page={$i+1}" <php>echo $selected;</php>>第{$i+1}页</option>
			<php>	}</php>
			<php>}</php>
			
		</select>
		<php>if($get == $_count) {</php>
			<a href="javascript:;" id="next" class="pager_child pager_p_n_none">下一页</a>
		<php>}else{</php>
			<a href="{:U('w3g/Index/atme',array('page'=>$page+1))}" id="next" class="pager_child pager_p_n">下一页</a>
		<php>}</php>
	</div>
</div>